﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;
using OgilvyOne.DALFactory;

namespace OgilvyOne.BLL
{
    public class HealthExpertBll
    {
        public int Add(HealthExpertModel model)
        {
            return HealthExpertFactory.create().Add(model);
        }
        public bool Update(HealthExpertModel model)
        {
            return HealthExpertFactory.create().Update(model);
        }
        public HealthExpertModel GetHealthExpertModel(int heid)
        {
            return HealthExpertFactory.create().GetHealthExpertModel(heid);
        }
        public IList GetHealthExpertList(HealthExpertModel q)
        {
            return HealthExpertFactory.create().GetHealthExpertList(q);
        }

        public bool Delete(int heid)
        {
            return HealthExpertFactory.create().Delete(heid);
        }
    }
}
